package com.gomtel.smartdevice.di.component;

import android.content.Context;


import com.gomtel.smartdevice.di.moudle.AppModule;
import com.gomtel.smartdevice.moudle.DataManager;
import com.gomtel.smartdevice.moudle.db.GreenDaoHelper;
import com.gomtel.smartdevice.utils.ToastUtil;

import javax.inject.Singleton;

import dagger.Component;


/**
 * Created by Administrator on 2017/10/27.
 */
@Singleton
@Component(modules = {AppModule.class})
public interface AppComponent {

    Context getContext();

    ToastUtil getToastUtil();

    DataManager getDataManager(); //数据中心

    GreenDaoHelper greenDaoHelper();    //提供数据库帮助类

//    RetrofitHelper getRetrofitHelper();  //提供http的帮助类

}
